<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - InsightBlog</title>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#6B7280',
                        dark: '#1F2937',
                        light: '#F9FAFB'
                    },
                    fontFamily: {
                        inter: ['Inter', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .text-shadow {
                text-shadow: 0 4px 8px rgba(0,0,0,0.25);
            }
            .card-hover {
                transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                            box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            }
            .card-hover:hover {
                transform: translateY(-8px);
                box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            }
            .bg-gradient-blue {
                background: linear-gradient(135deg, #165DFF 0%, #0A2463 100%);
            }
            .input-focus {
                @apply focus:border-primary focus:ring-2 focus:ring-primary/20 transition-all duration-300;
            }
            .btn-primary {
                @apply bg-primary hover:bg-primary/90 text-white font-medium py-3 px-6 rounded-lg transition-all duration-300 shadow-lg hover:shadow-xl transform hover:-translate-y-0.5;
            }
            .btn-secondary {
                @apply bg-white border border-gray-300 hover:bg-gray-50 text-dark font-medium py-3 px-6 rounded-lg transition-all duration-300;
            }
        }
    </style>
</head>
<body class="font-inter bg-gray-50 min-h-screen flex flex-col">
    <!-- 导航栏 -->
    <header class="py-4 px-6 sticky top-0 bg-white/95 backdrop-blur-md shadow-sm z-50">
        <div class="container mx-auto">
            <div class="flex justify-between items-center">
                <!-- Logo -->
                <a href="#" class="flex items-center space-x-3">
                    <div class="w-10 h-10 rounded-lg bg-white flex items-center justify-center shadow-lg">
                        <i class="fa fa-lightbulb-o text-2xl text-primary" aria-hidden="true"></i>
                    </div>
                    <span class="text-2xl font-bold text-dark">InsightBlog</span>
                </a>
                
                <!-- 导航链接 -->
                <nav class="hidden md:flex items-center space-x-8">
                    <a href="#" class="text-gray-700 hover:text-primary font-medium transition-colors relative group">
                        首页
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-primary transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-gray-700 hover:text-primary font-medium transition-colors relative group">
                        发现
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-primary transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-gray-700 hover:text-primary font-medium transition-colors relative group">
                        分类
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-primary transition-all duration-300 group-hover:w-full"></span>
                    </a>
                    <a href="#" class="text-gray-700 hover:text-primary font-medium transition-colors relative group">
                        专栏
                        <span class="absolute bottom-0 left-0 w-0 h-0.5 bg-primary transition-all duration-300 group-hover:w-full"></span>
                    </a>
                </nav>
                
                <!-- 功能按钮 -->
                <div class="flex items-center space-x-4">
                    <a href="#" class="hidden sm:inline-block btn-secondary">
                        注册
                    </a>
                    <button class="md:hidden text-gray-700 hover:text-primary transition-colors" id="mobile-menu-btn">
                        <i class="fa fa-bars text-xl" aria-hidden="true"></i>
                    </button>
                </div>
            </div>
        </div>
    </header>

    <!-- 主要内容 -->
    <main class="flex-grow flex items-center py-12 px-4">
        <div class="container mx-auto max-w-6xl">
            <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
                <!-- 左侧图像 -->
                <div class="hidden lg:block relative">
                    <div class="absolute -inset-4 bg-gradient-blue rounded-3xl opacity-10"></div>
                    <img src="https://picsum.photos/id/1071/800/600" alt="知识探索" class="w-full h-auto rounded-2xl shadow-2xl relative z-10">
                    <div class="absolute -bottom-6 -right-6 bg-white rounded-xl shadow-xl p-6 max-w-xs z-20">
                        <div class="flex items-start space-x-4">
                            <div class="bg-primary/10 p-3 rounded-lg">
                                <i class="fa fa-quote-left text-primary text-xl" aria-hidden="true"></i>
                            </div>
                            <div>
                                <p class="text-gray-700 italic">"阅读是一座随身携带的小型避难所。"</p>
                                <p class="text-gray-500 text-sm mt-2">—— 伍尔夫</p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 右侧表单 -->
                <div class="bg-white rounded-2xl shadow-xl p-8 md:p-12 relative">
                    <div class="absolute -top-3 -right-3 bg-primary text-white rounded-full w-16 h-16 flex items-center justify-center shadow-lg transform rotate-12 transition-transform duration-500 hover:rotate-0">
                        <i class="fa fa-key text-2xl" aria-hidden="true"></i>
                    </div>
                    
                    <div class="text-center mb-10">
                        <h2 class="text-3xl font-bold text-gray-900 mb-2">欢迎回来</h2>
                        <p class="text-gray-600">登录您的账户，继续探索知识的世界</p>
                    </div>
                    
                    <form class="space-y-6">
                        <!-- 邮箱 -->
                        <div>
                            <label for="email" class="block text-sm font-medium text-gray-700 mb-1">电子邮箱</label>
                            <div class="relative">
                                <span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
                                    <i class="fa fa-envelope-o" aria-hidden="true"></i>
                                </span>
                                <input type="email" id="email" class="w-full pl-10 pr-4 py-3 rounded-lg border border-gray-300 input-focus" placeholder="your@email.com">
                            </div>
                        </div>
                        
                        <!-- 密码 -->
                        <div>
                            <div class="flex justify-between items-center mb-1">
                                <label for="password" class="block text-sm font-medium text-gray-700">密码</label>
                                <a href="#" class="text-sm text-primary hover:text-primary/80 transition-colors">忘记密码？</a>
                            </div>
                            <div class="relative">
                                <span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">
                                    <i class="fa fa-lock" aria-hidden="true"></i>
                                </span>
                                <input type="password" id="password" class="w-full pl-10 pr-10 py-3 rounded-lg border border-gray-300 input-focus" placeholder="••••••••">
                                <button type="button" class="absolute inset-y-0 right-0 flex items-center pr-3 text-gray-500 hover:text-gray-700">
                                    <i class="fa fa-eye-slash" aria-hidden="true"></i>
                                </button>
                            </div>
                        </div>
                        
                        <!-- 记住我 -->
                        <div class="flex items-center">
                            <input id="remember-me" type="checkbox" class="w-4 h-4 text-primary rounded border-gray-300 focus:ring-primary">
                            <label for="remember-me" class="ml-2 block text-sm text-gray-700">记住我的登录状态</label>
                        </div>
                        
                        <!-- 登录按钮 -->
                        <button type="submit" class="w-full btn-primary">
                            登录账户
                        </button>
                        
                        <!-- 分隔线 -->
                        <div class="relative flex items-center my-6">
                            <div class="flex-grow border-t border-gray-200"></div>
                            <span class="flex-shrink mx-4 text-gray-500">或者</span>
                            <div class="flex-grow border-t border-gray-200"></div>
                        </div>
                        
                        <!-- 社交登录 -->
                        <div class="grid grid-cols-3 gap-4">
                            <button type="button" class="btn-secondary flex items-center justify-center space-x-2">
                                <i class="fa fa-google text-red-500" aria-hidden="true"></i>
                                <span class="hidden sm:inline">Google</span>
                            </button>
                            <button type="button" class="btn-secondary flex items-center justify-center space-x-2">
                                <i class="fa fa-facebook-official text-blue-600" aria-hidden="true"></i>
                                <span class="hidden sm:inline">Facebook</span>
                            </button>
                            <button type="button" class="btn-secondary flex items-center justify-center space-x-2">
                                <i class="fa fa-twitter text-blue-400" aria-hidden="true"></i>
                                <span class="hidden sm:inline">Twitter</span>
                            </button>
                        </div>
                    </form>
                    
                    <!-- 注册提示 -->
                    <div class="mt-8 text-center">
                        <p class="text-gray-600">
                            还没有账户？ 
                            <a href="#" class="text-primary font-medium hover:text-primary/80 transition-colors">立即注册</a>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </main>

    <!-- 页脚 -->
    <footer class="bg-gray-900 text-gray-400 py-12">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10 mb-8">
                <div>
                    <div class="flex items-center space-x-3 mb-6">
                        <div class="w-10 h-10 rounded-lg bg-white flex items-center justify-center">
                            <i class="fa fa-lightbulb-o text-2xl text-primary" aria-hidden="true"></i>
                        </div>
                        <span class="text-2xl font-bold text-white">InsightBlog</span>
                    </div>
                    <p class="mb-6">
                        InsightBlog 致力于汇聚全球优质思想内容，为读者提供有深度、有价值的阅读体验。
                    </p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-twitter" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-facebook" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-instagram" aria-hidden="true"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-linkedin" aria-hidden="true"></i>
                        </a>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-white font-bold text-lg mb-6">快速链接</h3>
                    <ul class="space-y-3">
                        <li><a href="#" class="hover:text-white transition-colors">首页</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">发现</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">分类</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">专栏</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">关于我们</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-white font-bold text-lg mb-6">支持</h3>
                    <ul class="space-y-3">
                        <li><a href="#" class="hover:text-white transition-colors">帮助中心</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">常见问题</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">联系我们</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">隐私政策</a></li>
                        <li><a href="#" class="hover:text-white transition-colors">使用条款</a></li>
                    </ul>
                </div>
                
                <div>
                    <h3 class="text-white font-bold text-lg mb-6">订阅更新</h3>
                    <p class="mb-4">订阅我们的邮件，获取最新的文章和资讯</p>
                    <form class="flex">
                        <input type="email" placeholder="您的邮箱" class="flex-grow px-4 py-2 rounded-l-lg focus:outline-none text-gray-800">
                        <button type="submit" class="bg-primary hover:bg-primary/90 text-white px-4 py-2 rounded-r-lg transition-colors">
                            <i class="fa fa-paper-plane" aria-hidden="true"></i>
                        </button>
                    </form>
                </div>
            </div>
            
            <div class="border-t border-gray-800 pt-8 text-center text-sm">
                <p>&copy; 2023 InsightBlog. 保留所有权利。</p>
            </div>
        </div>
    </footer>

    <!-- JavaScript -->
    <script>
        // 导航栏滚动效果
        window.addEventListener('scroll', function() {
            const header = document.getElementById('main-header');
            if (window.scrollY > 50) {
                header.classList.add('nav-scrolled');
            } else {
                header.classList.remove('nav-scrolled');
            }
        });
        
        // 移动菜单切换
        document.getElementById('mobile-menu-btn').addEventListener('click', function() {
            const mobileMenu = document.getElementById('mobile-menu');
            mobileMenu.classList.toggle('hidden');
        });
        
        // 密码显示/隐藏切换
        document.querySelector('button[type="button"]').addEventListener('click', function() {
            const passwordInput = document.getElementById('password');
            const icon = this.querySelector('i');
            
            if (passwordInput.type === 'password') {
                passwordInput.type = 'text';
                icon.classList.remove('fa-eye-slash');
                icon.classList.add('fa-eye');
            } else {
                passwordInput.type = 'password';
                icon.classList.remove('fa-eye');
                icon.classList.add('fa-eye-slash');
            }
        });
    </script>
</body>
</html>